import request from '../request'
//获取订单地址信息的接口函数
export const reqGetOrderAddress =()=>{
  return request({url:'/mall-api/userAddress/getOrderAddress'})
}
//获取订单信息的接口函数
export const reqGetCardList = ()=>{
  return request({
    url:'/mall-api/order/trade'
  })
}
//通过立即购买跳转到订单页的接口函数
export const reqGetBuyToList =({goodsId,blessing})=>{
  return request({
    url:`/mall-api/order/buy/${goodsId}`,data:{blessing}
  })
}